package com.os.mapper.system;

import com.os.model.system.SysPrivilege;
import org.apache.ibatis.annotations.SelectProvider;

/**
 * @Author Matt
 * @Date 2022-07-08
 * @Desc:
 * @Version V1.0
 */
public interface PrivilegeMapper {

    @SelectProvider(type = PrivilegeProvider.class, method = "selectById")
    SysPrivilege selectById(Long id);

    SysPrivilege selectPrivilegeByRoleId(Long roleId);
}
